<?php
/*
 * Created on 21.6.2006
 *
 */

class pStandard_Submit extends cFormElement 
{
	public $physic = false;
	
	/*
	function getElement(&$inXP,&$outDom,$view)
	{
		if ($view->doctype!="raw" && $view->action!="show") {
			return parent::getElement($inXP,$outDom,$view);
		} else return null;
	}
	*/
	
	function getEditText($fieldName, $id, $value, cView $view)
	{
		$s="<input type=\"submit\" value=\"".$this->getAttr("name")."\" name=\"_action[".$this->getAttr("action")."]\" />";
		return $s;
	}

}
 
?>
